package com.ysy.tz.mfg.dao;

import com.ysy.tz.mfg.entity.CarcassOutWarehouseEntity;
import java.util.ArrayList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CarcassOutWarehouseDao {
    ArrayList<CarcassOutWarehouseEntity> listForPage(CarcassOutWarehouseEntity var1) throws Exception;

    int save(CarcassOutWarehouseEntity var1) throws Exception;

    int finishBatchCarcaseOutWarehouseRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("customerId") int var4) throws Exception;

    int delete(@Param("seqId") Integer var1, @Param("enterpriseID") Integer var2) throws Exception;

    CarcassOutWarehouseEntity searchStatisticsRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("workFlightsCode") String var4) throws Exception;

    ArrayList<CarcassOutWarehouseEntity> searchStatisticsCustomerRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("customerId") int var4) throws Exception;

    ArrayList<CarcassOutWarehouseEntity> searchLastTopCarcaseOutWarehouseRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("workFlightsCode") String var4, @Param("topN") int var5) throws Exception;

    ArrayList<CarcassOutWarehouseEntity> searchBatchCarcaseOutWarehouseRecordOneDay(@Param("userCode") String var1, @Param("enterpriseID") Integer var2, @Param("day") String var3, @Param("customerId") int var4) throws Exception;
}
